home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20010921-20020314 / 000273_unix-rlz@_mail9ndn3ws_._com_Mon Dec 31 11:21:30 EST 2001.msg < prev    next >
Text File  |  2020-01-01  |  5KB  |  114 lines

  1. Article: 13103 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!panix!news-out.cwix.com!newsfeed.cwix.com!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.md.home.com.POSTED!not-for-mail
  3. Message-ID: <3C2FE2B3.70A8CAC1@_mail9ndn3ws_._com>
  4. From: Ben <unix-rlz@_mail9ndn3ws_._com>
  5. X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
  6. X-Accept-Language: en
  7. MIME-Version: 1.0
  8. Newsgroups: comp.sys.sun.admin,comp.unix.solaris,comp.sys.sun.hardware,comp.protocols.kermit.misc
  9. Subject: Re: Sun Serial-Ports (and GPS)
  10. References: <3C2F3EFB.DE0DF5@_mail9ndn3ws_._com> <3C2F7281.18204EC5@_mail9ndn3ws_._com> <a0nul4$5gb$1@watsol.cc.columbia.edu>
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. Lines: 92
  14. Date: Mon, 31 Dec 2001 03:59:47 GMT
  15. NNTP-Posting-Host: 24.39.152.250
  16. X-Complaints-To: abuse@home.net
  17. X-Trace: news1.rdc1.md.home.com 1009771187 24.39.152.250 (Sun, 30 Dec 2001 19:59:47 PST)
  18. NNTP-Posting-Date: Sun, 30 Dec 2001 19:59:47 PST
  19. Organization: Excite@Home - The Leader in Broadband http://home.com/faster
  20. Xref: newsmaster.cc.columbia.edu comp.sys.sun.admin:182438 comp.unix.solaris:367926 comp.sys.sun.hardware:115647 comp.protocols.kermit.misc:13103
  21.  
  22.  
  23.  
  24. Frank da Cruz wrote:
  25. > In article <3C2F7281.18204EC5@_mail9ndn3ws_._com>,
  26. > Ben  <unix-rlz@_mail9ndn3ws_._com> wrote:
  27. > : > I've got a Garmin GPS 40 which I'm trying to get working on an E-450
  28. > : > (and a 420R) under Solaris 8 and I'm  not getting any serial I/O.  At
  29. > : > this point if I could simply see NMEA strings via 'tip' that would be
  30. > : > great.  I know the NMEA output is not a great time-source by itself.
  31. > : >
  32. > : > The GPS unit basically runs at 4800,8,n,1.  I've disabled the ttymon
  33. > : > service to the ports I've tried, tried tweaking the OBP port settings,
  34. > : > and I can't get any strings.
  35. > You have to consider at least the following:
  36. >  1. Making sure the serial port is configured, set up, enabled, etc.
  37. >     This is Solaris sysadmin stuff.
  38.  
  39. Yep.
  40.  
  41. >  2. Using the appropriate "name" (driver) for the serial port; each
  42. >     serial port might have several drivers for different purposes:
  43. >     ranging from full modem control to three-wire (no modem control).
  44.  
  45. No.  I'm going to try that ASAP.  Won't be for a couple days unless I
  46. can sneak away without my wife catching me .... ;)
  47.  
  48. >  3. Using an appropriate cable.
  49.  
  50. As soon as I can, I'm going to try the Garmin cable direct with the one
  51. 9-pin<-->25-pin adapter
  52.  
  53. >  4. Making sure the serial port is not owned by getty (i.e. not waiting
  54. >     for incoming login connections) or any other process.
  55.  
  56. Yes.  Did that.  Also, I've been trying to use /dev/term/.. rather than
  57. /dev/cua/.. as other posters have suggested.  I'll give it a whiz.
  58.  
  59. >  5. Picking the best software for the job.
  60.  
  61. Tried all kinds of serial-port comm. tools.  'tip', Kermit, Minicom,
  62. head, ...
  63.  
  64. Tried Sun's packaged xntpd and compiled the latest stable release
  65. available from ntp.org.
  66.  
  67. > You've received a number of answers on 1-4.  For further info look at:
  68. >   http://www.stokely.com/unix.serial.port.resources
  69. > Once you have items 1-4 sorted out, you might want to take a look at
  70. > C-Kermit as the control software:
  71. >   http://www.columbia.edu/kermit/ckermit.html
  72. > It gives you every conceivable control over communications parameters
  73. > (speed, parity, use/don't-use modem signals, data size, stop bits, flow
  74. > control...)  Flow control is, of course, an issue.  If the GPS is spewing
  75. > out info constantly, how is the Sun going to tell it to stop (for example
  76. > because nobody is listening at the moment and the device input buffer is
  77. > full)?  The common options are RTS/CTS (hardwire, requires the appropriate
  78. > connections in the cable) and Xon/Xoff (software, special control characters
  79. > in line with the data).  
  80.  
  81.  
  82.  
  83. > If the GPS offers no mechanism for flow control,
  84. > you'll need a process constanty reading from it.
  85.  
  86. hopefully xntpd will take care of that end of things ...  point noted
  87. though!
  88.  
  89. > Anyway, once you are able to see the GPS messages, then you can program
  90. > Kermit (using its script language) to process the messages and do whatever
  91. > you like with them: log them to a file, accumulate statistics, send alerts
  92. > by email, pager, or whatever.  To get started with Kermit scripting, see:
  93. >   http://www.columbia.edu/kermit/ckscripts.html
  94.  
  95. Thanks!
  96.  
  97. > - Frank
  98.